package com.zhangtai.modules.entity.employee;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

	

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-07-28 16:29:08
 */
@Data
@TableName("tb_dimission")
public class DimissionEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * id
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
			/**
		 * 员工id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long oid;
			/**
		 * 申请人
		 */
			private String applyName;
			/**
		 * 申请日期
		 */
			private Date applyDate;
			/**
		 * 工号
		 */
			private String code;
			/**
		 * 入职日期
		 */
			private Date hiredate;
			/**
		 * 姓名
		 */
			private String name;
			/**
		 * 部门id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long unitId;
			/**
		 * 公司id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long orgId;
			/**
		 * 岗位id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long jobId;
			/**
		 * 职级id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long joblevelId;
			
			/**
			 * 体系id
			 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long job_system_id;
			/**
		 * 职级类别
		 */
			private Integer joblevelType;
			/**
		 * 离职日期
		 */
			private Date dimissionTime;
			/**
		 * 交接人
		 */
			private String associate;
			/**
		 * 主管辅导
		 */
			private String zhudaoScore;
			/**
		 * 薪资报酬
		 */
			private String salaryScore;
			/**
		 * 工作时长
		 */
			private String workTimeScore;
			/**
		 * 培训获得
		 */
			private String trainGetScore;
			/**
		 * 晋升机会
		 */
			private String promotionScore;
			/**
		 * 沟通渠道
		 */
			private String communicationScore;
			
			/**
			 * 审批状态：0.待审批，1.已审批，2.驳回
			 */
			private String rurnover_status;
			
			/**
			 * 附件路径
			 */
			private String url_ids;
			
			/**
			 * 离职方式
			 */
			private String mode;
			
			/**
			 * 离职类型
			 */
			private String dimission_type;
			
			/**
			 * 保密协议
			 */
			private String secrecy;
			
			/**
			 * 违约金补偿
			 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long liquidated_damages;
			
			/**
			 * 离职去向
			 */
			private String whereabouts;
			
			/**
			 * 司龄
			 */
			private String secretary_ling;
			
			/**
			 * 申请日期
			 */
			private Date application_date;
			
			/**
			 * usercode
			 */
			private String apply_code;

	/**
	 * 离职原因
	 */
	private String reason;
			/**
		 * 0:正常。1：删除
		 */
			private Integer isDelete;

			private Date createTime;

	/**
	 * bmp审核链接
	 */
	@ApiModelProperty(value="bmp审核链接")
	private String checkUrl;

	/**
	 * 消息推送状态： 0未推送 1已推送
	 */
	@ApiModelProperty(value="消息推送状态： 0未推送 1已推送")
	private Integer isRemind;
	
}
